<%--
  Created by IntelliJ IDEA.
  User: ghostxbh
  Date: 2020/7/8
  Time: 6:15 下午
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/webpage/include/taglib.jsp" %>
<html>
<head>
    <title>博客分类管理</title>
    <meta name="decorator" content="ani"/>
    <%@include file="blogCategoryList.js" %>
    <%@include file="/webpage/include/treeview.jsp" %>
</head>
<body>

<div class="wrapper wrapper-content">
    <div class="panel panel-primary">
        <div class="panel-heading">
            <h3 class="panel-title">博客分类列表</h3>
        </div>

        <div class="panel-body">
            <sys:message content="${message}"/>
            <!-- 工具栏 -->
            <div class="row">
                <div class="col-sm-12">
                    <div class="pull-left treetable-bar">
                        <shiro:hasPermission name="blog:category:add">
                            <a id="add" class="btn btn-primary"
                               onclick="jp.openDialog('新建博客类别', '${ctx}/blog/category/form','800px', '500px', $categoryTreeTable)"><i
                                    class="glyphicon glyphicon-plus"></i> 新建</a><!-- 增加按钮 -->
                        </shiro:hasPermission>
                        <button class="btn btn-default" data-toggle="tooltip" data-placement="left" onclick="refresh()"
                                title="刷新"><i class="glyphicon glyphicon-repeat"></i> 刷新
                        </button>
                    </div>
                </div>
            </div>
            <table id="categoryTreeTable" class="table table-hover">
                <thead>
                <tr>
                    <th>类名</th>
                    <th>类图</th>
                    <th>备注信息</th>
                    <th>创建人</th>
                    <th>操作</th>
                </tr>
                </thead>
                <tbody></tbody>
            </table>
            <br/>
        </div>
    </div>
</div>
</body>
</html>
